package cn.mpq.payment.service.impl;


import cn.mpq.payment.mapper.UserMapper;
import cn.mpq.payment.model.User;
import cn.mpq.payment.service.UserService;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserServiceImpl extends ServiceImpl<UserMapper,User> implements UserService {
    @Autowired
    private UserMapper userMapper;
    @Override
    public User findUserByUserName(String username) {
        return userMapper.findByUserName(username);
    }
}
